package com.wooming.myserver.mapper;

import com.wooming.myserver.dto.HumanResourceDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 人力资源数据库操作接口
 *
 * @author wooming 2025/05/28
 */
@Mapper
public interface HumanResourceMapper {
    List<HumanResourceDTO> getAll(Integer userId);
    List<HumanResourceDTO> getTemp(Integer userId);
    HumanResourceDTO getById(Integer userId, Integer id);
    void addHumanResource(HumanResourceDTO humanResourceDTO);
    void sureHumanResource(HumanResourceDTO humanResourceDTO);
    void deleteTemp(Integer userId);
    void updateHumanResource(HumanResourceDTO humanResourceDTO);
}
